package com.mybatis.mapper.mapper;

import com.mybatis.mapper.entity.Department;

import java.util.List;

/**
 * @author gaoxu
 * date: Created on 2021/11/5 下午2:40
 */
public interface DepartmentMapper {
    List<Department> findAll();

    int insert(Department department);

    int update(Department department);

    int deleteById(String id);

    Department findById(String id);
}
